/*
 * File:   LineUnitTest.h
 * Author: Guilherme Monteiro
 *
 */

#ifndef LINEUNITTEST_H
#define	LINEUNITTEST_H

#include <cppunit/extensions/HelperMacros.h>

class LineUnitTest : public CPPUNIT_NS::TestFixture {
    CPPUNIT_TEST_SUITE(LineUnitTest);

    CPPUNIT_TEST(testLine);
    CPPUNIT_TEST(testEquals);
    CPPUNIT_TEST(testIntersection);
    CPPUNIT_TEST(testIsHorizontal);
    CPPUNIT_TEST(testIsVertical);

    CPPUNIT_TEST_SUITE_END();

public:
    LineUnitTest();
    virtual ~LineUnitTest();
    void setUp();
    void tearDown();

private:
    void testLine();
    void testEquals();
    void testIntersection();
    void testIsHorizontal();
    void testIsVertical();

};

#endif	/* LINEUNITTEST_H */

